<?php
include_once "../model/resume.php";

if (isset($_POST["id"]) && isset($_POST["name"]) && isset($_POST["htmlstruct"])) {
    $id = $_POST["id"];
    $name = $_POST["name"];
    $htmlstruct = $_POST["htmlstruct"];
    
    echo updateResume($id,$name, $htmlstruct);
} else {
    echo 0;
}
